package cbs.demo;

import cbs.demo.domain.Patient;
import cbs.demo.service.FooService;

public class App {
    public static void main(String[] args) {
        var patient = new Patient();
        patient.setId(1);
        patient.setName("tony");
        var foo = new FooService(patient);
        var result = foo.foo("FOO");
        System.out.println(result);

        var result8 = foo.foo8("FOO");
        System.out.println(result8);

        var result11 = foo.foo11("FOO");
        System.out.println(result11);
    }
}
